import React from "react";
import styles from "./index.module.scss"
import { useEffect } from "react";
export default (props)=>{
    const {notice={},children} = props
    const {tz=''}=notice
    useEffect(()=>{
    
        console.log(props)
    })
    return <>
   <div className="modal">
        <div className={styles.notice}></div>
        <div className="modal-title">{children}</div>
        <div className="modal-content">{tz}</div>
        <div className="modal-operator">
          <button className="modal-operator-close" >取消</button>
          <button className="modal-operator-confirm">确认</button>
        </div>
      </div>
      <div className="mask"></div>
    </>
}
